// Lindsay Gilmour
// Adam Lusch
// Dan Niceswanger
//
// Computer Graphics Project 2:
// Teapot racing!

#ifndef TIRE_H
#define TIRE_H

#include <GL/glut.h>

#include "util.h"

class Tire
{
	public:
	
		static void setup();
		static void cleanup();
	
		Tire();
		~Tire();

		void rotate(GLfloat);

		void draw() const;
		
	private:
		
		static GLuint baseList;
		static GLuint treadTex;
		static GLuint rimTex;
		static GLUquadric* quad;
		
		GLfloat rotation;
};

#endif
